package cn.tedu.egvehicle02.mapper;

import cn.tedu.egvehicle02.pojo.dto.VehicleListQuery;
import cn.tedu.egvehicle02.pojo.entity.Vehicle;
import cn.tedu.egvehicle02.pojo.vo.VehicleListVO;

import java.util.List;

public interface VehicleMapper {
    int insertVehicle(Vehicle vehicle);

    List<VehicleListVO> selectVehicleList(VehicleListQuery vehicleListQuery, Long userId);

    int deleteVehicle(Long id, Long userId);
}
